import pandas as pd
words = pd.read_csv('y_type.csv', header=0)
my_columns = ['描述']
my_data = words[my_columns]
my_data.to_csv('my_data_to_analytic.csv', index=False, encoding='utf-8')

words = pd.read_csv('my_data_to_analytic.csv', header=0)
words = words.head(5001)
words.to_csv('my_data_to_emotion.csv', index=False, encoding='utf-8')